package com.itcast.ssm.service.impl;

import com.itcast.ssm.mapper.UserMapper;
import com.itcast.ssm.pojo.House;
import com.itcast.ssm.pojo.User;
import com.itcast.ssm.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 用户信息表 服务实现类
 * </p>
 *
 * @author 三人行
 * @since 2020-09-12
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    UserMapper userMapper;

    @Override
    public User findById(Integer userId) {
        return userMapper.findById(userId);
    }
}
